package com.hyl.springbootappinfo.service.impl;

import com.hyl.springbootappinfo.dao.Data_dictionaryMapper;
import com.hyl.springbootappinfo.pojo.Data_dictionary;
import com.hyl.springbootappinfo.service.Data_dictionaryService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Data_dictionaryServiceImpl implements Data_dictionaryService {

    @Resource
    private Data_dictionaryMapper data_dictionaryMapper;

    @Override
    public List<Data_dictionary> finbyTypeName(String typename) {
        return data_dictionaryMapper.finbyTypeName(typename);
    }

    @Override
    public List<Data_dictionary> finbyTypeName1(String typename) {
        return data_dictionaryMapper.finbyTypeName1(typename);
    }

    @Override
    public Data_dictionary findbyTypeNameAndVauleId(String typeName, Integer valueId) {
        return data_dictionaryMapper.findbyTypeNameAndVauleId(typeName,valueId);
    }


}
